export function getFindByAdvertisingList(type = 0) {

	//return uni.$u.http.get('users/auth/info');
	var param = {
		type
	}

	return uni.$u.http.get('advertisingManagement/findByMiniList?type=' + type, )

}


export function getFindByAdvertisingMiniByType(type = 0) {

	//return uni.$u.http.get('users/auth/info');


	return uni.$u.http.get('advertisingManagement/findByMiniByType?type=' + type)

}
export function getFindByNavigationMiniList() {

	//return uni.$u.http.get('users/auth/info');

	return uni.$u.http.get('navigation/findByMiniList')

}


export function getFindBySysCategoryList(type = 0) {

	//return uni.$u.http.get('users/auth/info');
	var param = {
		type
	}

	return uni.$u.http.get('syscategory/list?type=' + type)

}

export function getPosterInfo(type = 0, id = 0, page) {

	//return uni.$u.http.get('users/auth/info');
	var param = {
		type: type,
		id: id,
		page: page
	}

	var parama = uni.$u.queryParams(param);
	return uni.$u.http.get('poster/image' + parama)

}


export function getQrcode(type = 1) {

	//return uni.$u.http.get('users/auth/info');
	return uni.$u.http.get('poster/myQrcode?type=' + type)

}

export function getNotice() {
	let ids = uni.getStorageSync("notices") | null
	//return uni.$u.http.get('users/auth/info');
	return uni.$u.http.get('notice/myView?ids=' + ids)

}